/****************************************************/
 /* Project Name:房间信息管理                             * /
 /* File Name:TdcRoom             */
 /* Date:2017年3月22日下午19:28:12            */
 /* Description:房间信息实体类        */
 /****************************************************/ 
package com.thinkgem.jeesite.modules.tdc.room.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 房间信息Entity
 * @author 孙瑞曦
 * @version 2017-03-20
 */
public class TdcRoom extends DataEntity<TdcRoom> {
	
	private static final long serialVersionUID = 1L;
	/*房间号*/
	private String roomNumber;
	/*房间类型*/
	private String roomType;
	/*房间状态-使用中，空闲中**/
	private String roomStatus;	
	/*预约编号**/
	private String bespeakNumber;
	
	public TdcRoom() {
		super();
	}

	public TdcRoom(String id){
		super(id);
	}

	@Length(min=1, max=10, message="房间号长度必须介于 1 和 10 之间")
	public String getRoomNumber() {
		return roomNumber;
	}

	public void setRoomNumber(String roomNumber) {
		this.roomNumber = roomNumber;
	}
	
	@Length(min=1, max=100, message="房间类型长度必须介于 1 和 100 之间")
	public String getRoomType() {
		return roomType;
	}

	public void setRoomType(String roomType) {
		this.roomType = roomType;
	}
	
	@Length(min=0, max=10, message="房间状态-使用中，空闲中长度必须介于 0 和 10 之间")
	public String getRoomStatus() {
		return roomStatus;
	}

	public void setRoomStatus(String roomStatus) {
		this.roomStatus = roomStatus;
	}
	
	@Length(min=0, max=11, message="预约编号长度必须介于 0 和 11 之间")
	public String getBespeakNumber() {
		return bespeakNumber;
	}

	public void setBespeakNumber(String bespeakNumber) {
		this.bespeakNumber = bespeakNumber;
	}
	
}